package com.yckj.activechicken.business.goods.service;

import com.yckj.activechicken.business.goods.model.GoodsInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Title:com.yckj.activechicken.business.goods.service
 * </p>
 * <p/>
 * <p>
 * Description: 描述【货品管理业务处理接口】
 * </p>
 * <p/>
 * <p>
 * Copyright: Copyright (c) 2019
 * </p>
 * <p/>
 * <p>
 * Company: 英才汇硕信息技术有限公司
 * </p>
 *
 * @author zhoujy
 * @version 1.0
 * @created 2020/6/7 20:38
 */
public interface IGoodsService {
    /**
     * 添加货品信息
     * @param goodsInfo
     * @return
     */
    Map<String,String> addGoods(GoodsInfo goodsInfo);

    /**
     * 修改货品信息
     * @param goodsInfo
     * @return
     */
    Map<String,String> modifyGoods(GoodsInfo goodsInfo);

    /**
     * 删除货品信息
     * @param goodsInfo
     * @return
     */
    int delGoods(GoodsInfo goodsInfo);

    /**
     * 分页查询货品信息
     * @param goodsInfo
     * @return
     */
    List<GoodsInfo> listGoods(GoodsInfo goodsInfo);
}
